<html {$html_attrs}>
<head>
<title>POA Anual Planejado</title>
{BEGIN stylesheetlink}
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{END stylesheetlink}
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border: solid black 1px;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid #cccccc 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
.pagesummary
{
background-color:#ffffbb;
}
.globalsummary
{
background-color:#ffe0b0;
}

{$cssdata}

.group_1
{
background-color: #FFFFE0;
}
.group_2
{
background-color: #FFFFE0;
}
.group_3
{
background-color: #FFFFE0;
}
.group_4
{
background-color: #FFFFE0;
}
.group_5
{
background-color: #FFFFE0;
}
.group_6
{
background-color: #FFFFE0;
}
.group_7
{
background-color: #D2B48C;
}


.nbgroup_1
{
background-color: #FFFFE0;
border-style:none;
}
.nbgroup_2
{
background-color: #FFFFE0;
border-style:none;
}
.nbgroup_3
{
background-color: #FFFFE0;
border-style:none;
}
.nbgroup_4
{
background-color: #FFFFE0;
border-style:none;
}
.nbgroup_5
{
background-color: #FFFFE0;
border-style:none;
}
.nbgroup_6
{
background-color: #FFFFE0;
border-style:none;
}
.nbgroup_7
{
background-color: #D2B48C;
border-style:none;
}


.header_1
{
background-color: #D8D8BE;
}
.header_2
{
background-color: #D8D8BE;
}
.header_3
{
background-color: #D8D8BE;
}
.header_4
{
background-color: #D8D8BE;
}
.header_5
{
background-color: #D8D8BE;
}
.header_6
{
background-color: #D8D8BE;
}
.header_7
{
background-color: #B29977;
}

</style> 
</head>
<body topmargin=5 style="background:white">
{BEGIN body}
{$header}
{BEGIN page}
<div>

<h1>POA Anual Planejado</h1>
<div id='selpage'>Página {$pageno} de {$maxpages} </div>

{BEGIN grid_block}
<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_row}
<!-------------------------------------  group headers ----------------------------------------->
{BEGIN id_uc_newgroup}
<tr>
<td class=header_1 colspan=13>
UC:&nbsp;
<font style="font-weight:900">{$id_uc_grval}</font></td>
</tr>
{END id_uc_newgroup}
{BEGIN objetivo_sisema_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=header_2 colspan=12>
Objetivo Sisema:&nbsp;
<font style="font-weight:900">{$objetivo_sisema_grval}</font></td>
</tr>
{END objetivo_sisema_newgroup}
{BEGIN macro_objetivo_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=header_3 colspan=11>
Macro Objetivo:&nbsp;
<font style="font-weight:900">{$macro_objetivo_grval}</font></td>
</tr>
{END macro_objetivo_newgroup}
{BEGIN objetivo_estrategico_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=group_3>&nbsp;</td>
<td class=header_4 colspan=10>
Objetivo Estrategico:&nbsp;
<font style="font-weight:900">{$objetivo_estrategico_grval}</font></td>
</tr>
{END objetivo_estrategico_newgroup}
{BEGIN programa_manejo_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=group_3>&nbsp;</td>
<td class=group_4>&nbsp;</td>
<td class=header_5 colspan=9>
Programa Manejo:&nbsp;
<font style="font-weight:900">{$programa_manejo_grval}</font></td>
</tr>
{END programa_manejo_newgroup}
{BEGIN subprograma_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=group_3>&nbsp;</td>
<td class=group_4>&nbsp;</td>
<td class=group_5>&nbsp;</td>
<td class=header_6 colspan=8>
Subprograma:&nbsp;
<font style="font-weight:900">{$subprograma_grval}</font></td>
</tr>
{END subprograma_newgroup}
{BEGIN atividade_newgroup}
<tr>
<td class=group_1>&nbsp;</td>
<td class=group_2>&nbsp;</td>
<td class=group_3>&nbsp;</td>
<td class=group_4>&nbsp;</td>
<td class=group_5>&nbsp;</td>
<td class=group_6>&nbsp;</td>
<td class=header_7 colspan=7>
Atividade:&nbsp;
<font style="font-weight:900">{$atividade_grval}</font></td>
</tr>
<tr>
<td class=group_1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=group_2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=group_3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=group_4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=group_5>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=group_6>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=group_7>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td class=blackshade><b>O Que</b></td>
<td class=blackshade><b>Onde</b></td>
<td class=blackshade><b>Data Inicio Plan</b></td>
<td class=blackshade><b>Data Fim Plan</b></td>
<td class=blackshade><b>Valor Plan</b></td>
<td class=blackshade><b>Situacao</b></td>
</tr>
{END atividade_newgroup}
<!-------------------------------------  data ----------------------------------------->
{BEGIN row_data}
<tr>
			<td class=group_1>&nbsp;</td>
			<td class=group_2>&nbsp;</td>
			<td class=group_3>&nbsp;</td>
			<td class=group_4>&nbsp;</td>
			<td class=group_5>&nbsp;</td>
			<td class=group_6>&nbsp;</td>
			<td class=group_7>&nbsp;</td>
	<td class=data>{$o_que_value}</td>
	<td class=data>{$onde_value}</td>
	<td class=data>{$data_inicio_plan_value}</td>
	<td class=data>{$data_fim_plan_value}</td>
	<td class=data>{$valor_plan_value}</td>
	<td class=data>{$situacao_value}</td>
</tr>
{END row_data}
<!-------------------------------------  group summary ----------------------------------------->
{BEGIN id_uc_endgroup}
<tr>
	<td 1 class=group_1
		colspan=13 >
	Resumo para UC {$id_uc_grval}
	 - {$groupid_uc_total_cnt} Total de registros</div></td>
</tr>
<!--  Sum -->
<tr>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>Soma</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>{$groupid_uc_totalvalor_plan_sum}</td>
			<td class=group_1
		style="border-bottom: solid black 2px"
	>&nbsp;</td>
</tr>	
{END id_uc_endgroup}
{END grid_row}
{BEGIN global_summary}
<!--------------------------------------global summary-------------------------------------------->
<tr>
	<td class=globalsummary style="border-top: solid black 2px" colspan=13>Resumo Global 
	 {$global_total_cnt} - Total de registros</td>
</tr>
<!--  Sum -->
<tr>
	<td class=globalsummary>
			Soma&nbsp;
			&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
	<td class=globalsummary>
					{$global_totalvalor_plan_sum}
	</td>
	<td class=globalsummary>
					&nbsp;
	</td>
</tr>	
{END global_summary}
</table>
{END grid_block}
</div>
{END page}
{$footer}
{END body}
</body>
</html>